package com.zyl.Ecs.common.domain.data.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.zyl.Ecs.common.domain.device.ext.SensorEdl;
import lombok.*;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @version v1.0
 * @ProjectName: Ecs
 * @Package: com.zyl.Ecs.common.domain.data.vo
 * @ClassName: DataVO
 * @Description TODO
 * @Author 翟玉龙
 * @Date 2024/12/7-1:27
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Builder
public class DataVO {

    /**
     * 点位id
     */
    @JsonProperty("id")
    private Integer id;

    /**
     * 点位名称
     */
    @JsonProperty("name")
    private String positionName;

    /**
     * 传感器数据
     */
    @JsonProperty("sensorData")
    private List<SensorEdl> sensorData;

    /**
     * 点位传感器
     */
    @JsonProperty("pointSensor")
    private List<String> pointSensor;

    /**
     * 温度传感器
     */
    @JsonProperty("temSensor")
    private List<String> temSensor;

    /**
     * 气压传感器
     */
    @JsonProperty("difSensor")
    private List<String> difSensor;
}
